VSIXInstaller.NoApplicableSKUsException。这个扩展不能安装在任何当前安装的产品上 您所在的位置:网站首页 currently installed VSIXInstaller.NoApplicableSKUsException。这个扩展不能安装在任何当前安装的产品上

VSIXInstaller.NoApplicableSKUsException。这个扩展不能安装在任何当前安装的产品上

2023-04-08 08:41| 来源: 网络整理| 查看: 265

百度翻译此文   有道翻译此文 问题描述

I tried to install enterprise library 6.0 recently in visual studio 2015 but the installer throws an error:

VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.

I couldn't resolve it.

19-Dec-16 9:59:48 AM - Microsoft VSIX Installer 19-Dec-16 9:59:48 AM - ------------------------------------------- 19-Dec-16 9:59:48 AM - Initializing Install... 19-Dec-16 9:59:48 AM - Extension Details... 19-Dec-16 9:59:48 AM - Identifier : A42E118F-C41F-47A2-ADB5-04CDEBF8EB90 19-Dec-16 9:59:48 AM - Name : EnterpriseLibrary.Config.v6 19-Dec-16 9:59:48 AM - Author : Microsoft 19-Dec-16 9:59:48 AM - Version : 6.0.1304.1 19-Dec-16 9:59:48 AM - Description : Launches the Microsoft Enterprise Library v6 Configuration Console 19-Dec-16 9:59:48 AM - Locale : en-US 19-Dec-16 9:59:48 AM - MoreInfoURL : 19-Dec-16 9:59:48 AM - InstalledByMSI : False 19-Dec-16 9:59:48 AM - SupportedFrameworkVersionRange : [4.5] 19-Dec-16 9:59:48 AM - 19-Dec-16 9:59:50 AM - SignatureState : ValidSignature 19-Dec-16 9:59:50 AM - SignedBy : Microsoft Corporation 19-Dec-16 9:59:50 AM - Certificate Info : 19-Dec-16 9:59:50 AM - ------------------------------------------------------- 19-Dec-16 9:59:50 AM - [Subject] : CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US 19-Dec-16 9:59:50 AM - [Issuer] : CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US 19-Dec-16 9:59:50 AM - [Serial Number] : 33000000B2E6906F8BE7453D5B0001000000B2 19-Dec-16 9:59:50 AM - [Not Before] : 25-Jan-13 4:03:41 AM 19-Dec-16 9:59:50 AM - [Not After] : 25-Apr-14 4:03:41 AM 19-Dec-16 9:59:50 AM - [Thumbprint] : E4EEC5DFB7F413E5A15191DA00D017F97E3A6260 19-Dec-16 9:59:50 AM - 19-Dec-16 9:59:50 AM - Supported Products : 19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Ultimate 19-Dec-16 9:59:50 AM - Version : [11.0] 19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Premium 19-Dec-16 9:59:50 AM - Version : [11.0] 19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Pro 19-Dec-16 9:59:50 AM - Version : [11.0] 19-Dec-16 9:59:50 AM - 19-Dec-16 9:59:50 AM - References : 19-Dec-16 9:59:50 AM - ------------------------------------------------------- 19-Dec-16 9:59:50 AM - Identifier : Microsoft.VisualStudio.MPF 19-Dec-16 9:59:50 AM - Name : Visual Studio MPF 19-Dec-16 9:59:50 AM - Version : [10.0,) 19-Dec-16 9:59:50 AM - MoreInfoURL : 19-Dec-16 9:59:50 AM - Nested : No 19-Dec-16 9:59:50 AM - 19-Dec-16 9:59:50 AM - Signature Details... 19-Dec-16 9:59:50 AM - Extension is signed with a valid signature. 19-Dec-16 9:59:50 AM - 19-Dec-16 9:59:50 AM - Searching for applicable products... 19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Professional 2015 19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Community 2015 19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated) 19-Dec-16 9:59:51 AM - Found installed product - Global Location 19-Dec-16 9:59:51 AM - Found installed product - ssms 19-Dec-16 9:59:51 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products. at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported) at VSIXInstaller.App.InitializeInstall() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()

Could anyone help me out ?

推荐答案

From the log file, we can get this extension is support on VS 2012 ultimate/premium/professional, and it found the installed product is VS 2015, so the error message “This extension is not installable on any currently installed products” popups, and we can also know this from system requirement of Microsoft Enterprise Library 6.

To solve it, you can have a look at this similar issue and directly download the Microsoft.Practices.EnterpriseLibrary.ConfigConsole.V6.VS2015.vsix (Source) and use it to install, it works fine on my side.

其他推荐答案

This VSIX is only designed to work with Visual Studio version 11 (Visual Studio 2012), as the error indicates - so you could use that version instead of VS 2015.

Here is the list of versions:

VS 2019 Version 16 VS 2017 Version 15 VS 2015 Version 14 VS 2013 Version 12 VS 2012 Version 11 其他推荐答案

On how to fix this, now with pictures:

Download the wsix from here

Right mouse on the XamlStyler.Package.vsix

Open it with archiver (in my case it's 7zip, but you can use any other) enter image description here

Right mouse on the extension.visxmanifest -> Open enter image description here

Replace

With

Don't forget to save and modify the archive.

Run XamlStyler.Package.vsix again and install VS extension.

Test if it works by Right mouse

enter image description here

I hope this will save you some time.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有